package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "product_discount")
public class ProductDiscount {
    @Id
    @Column(name = "product_discount_id")
    private Integer productDiscountId;

    @Column(name = "product_id")
    private Integer productId;

    @Column(name = "customer_group_id")
    private Integer customerGroupId;

    private Integer quantity;

    private Integer priority;

    private BigDecimal price;

    @Column(name = "date_start")
    private Date dateStart;

    @Column(name = "date_end")
    private Date dateEnd;
}